package com.bestv.bsr.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author taojiacheng
 */
@RequestMapping(value = "/admin")
@RestController
public class AdminController {

    @RequestMapping("/enableAiSource")
    public String enableAiSource() {
        // todo
        return "enable AiSource done";
    }

    @RequestMapping("/disableAiSource")
    public String disableAiSource() {
        // todo
        return "disable AiSource done";
    }

    @RequestMapping("/queryAiSource")
    public String queryAiSource() {
        // todo
        return "query AiSource done";
    }

    @RequestMapping("/disableEngine")
    public String disableEngine() {
        // todo
        return "disable Engine done";
    }

    @RequestMapping("/enableEngine")
    public String enableEngine() {
        // todo
        return "enable Engine done";
    }

}
